package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.Blocks;

public interface BlockDAO {
	Blocks retrieveByPK(int id) throws Exception;
	List selectAll() throws Exception;
	void blockActivate(int bid) throws Exception;
	void blockDeactivate(int bid) throws Exception;
	void update(Blocks blk) throws Exception;
	List selectAllByWeight()throws Exception;
	int addNew(Blocks block)throws Exception;
	void deleteByPK(int bid)throws Exception;
}
